package com.lzd.framework.springsecurity.service;

import org.springframework.security.core.userdetails.UserDetailsService;

import com.lzd.framework.springsecurity.security.Oauth2User;


public interface MyUserDetailsService extends UserDetailsService {
	/**
	 * 如果必要的话，插入新增用户
	 * @param user
	 */
	void insertUserIfNecessary(Oauth2User user);
}